//
//  HomeQuestionAnswerModel.m
//  OnionHome
//
//  Created by fengjie on 2019/9/27.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import "HomeQuestionAnswerModel.h"

@implementation HomeQuestionAnswerModel
-(void)setUserIcon:(NSString *)userIcon{
    _userIcon = userIcon;
    self.userImage = IMAGE_NAMED(userIcon);
}
-(void)setImages:(NSMutableArray *)images{
    _images = images;
    for (NSString * name in images) {
        UIImage * image = [ImageAndVideoSaveTool getDocumentImageimageName:name];
        [self.imagesArray addObject:image];
    }
}

-(NSMutableArray<UIImage *> *)imagesArray{
    if (!_imagesArray) {
        _imagesArray =[NSMutableArray array];
    }
    return _imagesArray;
}
@end
